package com.soul.model.mongo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author mdoya
 * @version 1.0
 * @description:
 */
@Slf4j
@Data
@NoArgsConstructor
@Document(collection = "peach_blossom")
public class Peachblossom implements java.io.Serializable {
    @Id
    private ObjectId id;
    private Long peachBlossomId; // 桃花传音Id  大数据系统推荐
    private String soundFileUrl; // 语音路径
    private Long userId; // 用户id
    private Long publishUserId; // 冗余发布者用户id
    private Long created; // 创建时间

    private Integer remainingTimes = 1; // 剩余次数
    private String count; // 随机数条件
}
